package org.swust.monitor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.swust.monitor.entity.SysDept;
import org.swust.monitor.entity.dto.SysUserCountByDept;
import org.swust.monitor.mapper.SysDeptMapper;
import org.swust.monitor.service.ISysDeptService;

import java.util.List;

@Service
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> implements ISysDeptService {


    @Override
    public List<SysUserCountByDept> countWorker() {

        return baseMapper.countWorker();
    }


}
